﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="membership_changepassword.aspx.cs" Inherits="membership_changepassword" %>

<%@ Register Src="_controls/header.ascx" TagName="header" TagPrefix="uc1" %>
<%@ Register Src="_controls/footer.ascx" TagName="footer" TagPrefix="uc2" %>
<%@ Register Src="_controls/membership_left_nav.ascx" TagName="membership_left_nav"
    TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_Head1">
    <title>曼福旅游保险</title>
    <link rel="canonical" href="http://www.insureandgo.com" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="travel insurance, holiday insurance, annual travel insurance, ski insurance, backpackers insurance, annual, cheap, uk, insurance, insureandgo, InsureandGo," />
    <meta name="description" content="Buy cheap travel insurance from InsureandGo, the UK's largest direct travel insurer. Wide range of policies available. Prices from under &pound;6. Kids go free." />
    <meta name="robots" content="noodp" />
    <meta name="google-site-verification" content="_p3NAz7IjML6o1UMAukUDLvJ-q3yRO-14nTqkjd0dDI" />
    <meta name="WT.pi" content="index.html" />
    <link rel="shortcut icon" href="favicon.ico" />
    <link href="_common/styles/layout.css" rel="stylesheet" type="text/css" />
    <!--[if lte IE 7]>
        <link rel="stylesheet" type="text/css" href="_common/styles/lteie7.css" />
    <![endif]-->
    <!-- jquery style sheets -->
    <!-- jquery libraries -->
    <script src="_common/scripts/jquery/jquery-1.6.2.js" type="text/javascript"></script>
    <script src="_common/scripts/jquery/UI/jquery.ui.core.js" type="text/javascript"></script>
    <script src="_common/scripts/jquery/UI/jquery.ui.widget.js" type="text/javascript"></script>
    <script type="text/javascript" src="_common/scripts/utility.js"></script>
    <script src="_common/scripts/ifeng_marquee.js" type="text/javascript"></script>
    <link rel="stylesheet" href="_common/styles/styles.css" type="text/css" />
    <link href="_common/styles/style-compressed.css" rel="stylesheet" type="text/css" />
    <link href="_common/styles/product_items.css" rel="stylesheet" type="text/css" />
    <link href="_common/styles/shopping_order_layout.css" rel="stylesheet" type="text/css" />
    <link href="_common/styles/form_layout.css" rel="stylesheet" type="text/css" />
    <link href="_common/styles/compare.css" rel="stylesheet" type="text/css" />
    <link href="_common/styles/dialog.css" rel="stylesheet" type="text/css" />
    <!-- ANALYTICS END -->
    <script src="_common/scripts/Util.js" type="text/javascript"></script> 
    <script type="text/javascript" src="_common/scripts/jquery_regform_validator.js"></script>
     
    <script type="text/javascript">
        $(document).ready(function () {
            validator.setup("#form1");
        })
        function ValidateSubmit() {
            var bl = validator.validatorAll(); 

            var bl1;
            if ($("#txtPasswordConfirm").val() == $("#txtPassword").val())
                bl1 = true;
            else {
                $("#spanPasswordConfirm").html("确认密码与密码输入不一致。");
                $("#spanPasswordConfirm").fadeIn("slow");
                bl1 = false;
            }

            if (!bl || !bl1)
                return false;
            else
                return true;
        }
    </script>
</head>
<body>
    <script type="text/javascript">
    <!-- 
        function ___doPostBack(eventTarget) {
            var theForm = document.forms["form1"];
            if (!theForm) {
                theForm = document.form1;
            }
            if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
                theForm.___EVENTTARGET.value = eventTarget;
                theForm.submit();
            }
        }
    // -->
    </script>

    <div id="success" style="position: absolute; z-index: 300; height: 93px; width: 273px;
        left: 54%; top: 60%; margin-left: -150px; margin-top: -80px; background: #F8F8F8;">
        <div style="position: absolute; z-index: 300; width: 270px; height: 90px; background-color: #FFF7D3;
            border: solid #E60113 1px; font-size: 14px;">
            <div style="height: 64px; line-height: 150%; padding: 0px 3px 0px 3px;" align="center">
                <br />
                <table>
                    <tr>
                        <td valign="top">
                            <img border="0" src="_imgs/progress.gif" />
                        </td>
                        <td valign="middle" style="font-size: 14px; width: 150px;">
                            操作执行中 ...<br />
                        </td>
                    </tr>
                </table>
                <br />
            </div>
        </div>
        <div style="position: absolute; width: 270px; height: 108px; z-index: 299; left: 4px;
            top: 5px; background-color: #E8E8E8; border: #E8E8E8 1px solid; display: none;">
        </div>
    </div>

    <script type="text/javascript">
        $("#success").css("display", "none"); 
    </script>

    <script src="_common/scripts/divcover.js" type="text/javascript"></script>
    <form id="form1" runat="server"> 
    <input type="hidden" name="___EVENTTARGET" id="___EVENTTARGET" value="" /> 
    <div class="cc-cookies">
    </div>
    <uc1:header ID="header1" runat="server" />
    <div class="clear">
    </div>
    <div id="main">
        <div id="secondary" class="widget-area">
            <uc3:membership_left_nav ID="membership_left_nav1" runat="server" />
        </div>
        <div class="rightContent"> 
            <div class="crumb">
                <a href="###">首页 </a><span>&gt; </span><em>修改登录密码</em>
            </div>
            <div class="clear">
            </div>
            <div class="innercontent" id="mainOrderContent">
                <div class="shoppingcart_box">
                <div class="form_content">
                    <div class="formcontent">   
                        <p class="form_titles">
                            修改登录密码</p>         
                        <div class="errorpaneltop" style="display: none;" id="divErrorMsg" runat="server">
                            <div class="errorpanelbottom">
                                <div class="errorcontent">
                                    <h3 class="error">
                                        错误提示</h3>
                                    <ul>{0}</ul>
                                </div>
                            </div>
                        </div>
                        <div class="fieldsetBtm"> 
                        </div>  
                        <div>
                            <table border="0" class="quoteForm" style="padding-left: 5px;">
                                <tbody>
                                    <tr>
                                        <td align="right" class="ControlTextLabels" style="height: 10px;"> 
                                            <label for="txtUsername">
                                                用户名：</label>
                                        </td>
                                        <td>
                                            <input type="text" class="textbox" id="txtUsername" name="txtUsername" runat="server" style="width: 150px;" readonly="readonly" /> 
                                        </td>
                                    </tr>
                                    <tr style="line-height: 8px;">
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" class="ControlTextLabels" style="height: 10px;">
                                            <span style="color: Red;">*</span>
                                            <label for="txtPassword">
                                                新密码：</label>
                                        </td>
                                        <td>
                                            <input type="password" class="textbox" id="txtPassword" name="txtPassword" style="width: 150px;" value=""
                                                onblur="this.className='colorblur';" onfocus="this.className='colorfocus';" validatormsg="spanPassword"
                                                required="required" controlname="密码" isvalidator />
                                            <span class="alertPanel" id="spanPassword"></span>
                                        </td>
                                    </tr> 
                                    <tr style="line-height: 8px;">
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" class="ControlTextLabels" style="height: 10px;">
                                            <span style="color: Red;">*</span>
                                            <label for="txtPasswordConfirm">
                                                确认密码：</label>
                                        </td>
                                        <td>
                                            <input type="password" class="textbox" id="txtPasswordConfirm" name="txtPasswordConfirm"
                                                style="width: 150px;" onblur="this.className='colorblur';" onfocus="this.className='colorfocus';"
                                                validatormsg="spanPasswordConfirm" required="required" controlname="确认密码" isvalidator />
                                            <span class="alertPanel" id="spanPasswordConfirm"></span>
                                        </td>
                                    </tr> 
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="fieldsetBtm">
                    </div> 
                    <div class="buttons" style="margin-right: 350px;">
                        <span><a id="btn_login" href="###" onclick="if(ValidateSubmit()){this.disabled=true;___doPostBack('changepassword');}">
                            保存</a> </span>
                    </div>
                </div>
                </div>
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
    <uc2:footer ID="footer1" runat="server" />
    </form>
</body>
</html>
